:root {
    --header: 66px;
    --banner: 680px;
    --color: #fff;
    --themColor: #00bdff;
    --fontColor: #666;
}

body {
    background-color: #f3f5f8;
}

/* 头部 */
header {
    height: var(--header);
    width: 100%;
    min-width: 1200px;
    color: var(--fontColor);
    background-color: var(--color);
    padding: 20px 28px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

/* 头部logo */
header h2 a {
    font-size: 0px;
    display: block;
    width: 140px;
    height: 30px;
    background: url(../images/logo-white.png) no-repeat;
}

header h2 {
    float: left;
}

header p {
    float: right;
}

header span a {
    color: var(--themColor);
}

/* 主体 */
main {
    position: relative;
}

.bg {
    width: 1200px;
    height: 700px;
    background-color: var(--color);
    margin-top: 70px;
}

section {
    width: 650px;
    position: absolute;
    top: 90px;
    left: 350px;
}

section h1 {
    font-size: 37px;
    margin-bottom: 20px;
}

section>p:nth-child(2) {
    font-size: 25px;
    margin-bottom: 10px;
}

.gift {
    width: 420px;
    height: 30px;
    background-color: #ed510a;
    color: var(--color);
    font-size: 14px;
    line-height: 30px;
    padding-left: 40px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.gift span {
    display: inline-block;
    width: 18px;
    height: 20px;
    vertical-align: middle;
    background: url(../images/reg-gift.png) no-repeat 0px -1px;
}

section>form>div>input {
    width: 420px;
    height: 40px;
    border: 1px solid #e0e0e0;
    padding-left: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-size: 12px;
}

#userName,
#passWord,
#tel,
.check {
    position: relative;
    overflow: hidden;
}

section>form>div>span {
    position: absolute;
    top: 10px;
    left: 900px;
    color: #f15b5b;
    font-size: 12px;
    padding-left: 20px;
}

section>form>div>span>i {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background: url(../images/loginIcon.png) no-repeat -30px -36px;

}

section>form>.check>input {
    width: 295px;
    float: left;
}

section>form>.check>button {
    width: 125px;
    height: 40px;
    background-color: #f3f5f8;
    border: 1px solid #e0e0e0;
}

.deal input,
.deal p {
    float: left;
    margin-right: 10px;
    margin-bottom: 27px;
    font-size: 12px;
    color: var(--fontColor);
}

.deal span {
    color: var(--themColor);
}

#register {
    width: 420px;
    height: 50px;
    background-color: #e0e0e0;
    border: none;
    color: var(--fontColor);
}